using System.Collections.Generic;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect21-给目标棋子移除哀伤印记的标记", menuName = "Skill/Effect/Effect21-给目标棋子移除哀伤印记的标记", order = 21)]
public class Effect21 : EffectBase
{
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets ==null || targets.Count == 0) return;
        foreach (var target in targets)
        {
            target.ChessDetail.GriefMark = false;
        }
    }
}